/* 首页样式 */

header{
    position: fixed;
    top: 0;
    right: 0;
    height: 50px;
    background-color: rgba(0, 0, 0, .5);
    width: 100%;
}

.top{
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #fff;
}

.logo img{
    width: 150px;
    height: 50px;
}

.top-list{
    display: none;
}

.login{
    font-size: 14px;
}

.banner{
    background: url("../images/top-bg.png") top center no-repeat;
    background-size: cover;
    height: 250px;
}

.adv{
    padding: 10px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.adv .swiper{
    display: block;
    width: 100%;
    height: auto;
    margin-bottom: 10px;
}

.adv .qrcode{
    display: block;
    height: auto;
    width: 49%;
}

.adv .center{
    display: block;
    height: auto;
    width: 49%;
}

.content{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 10px 20px;
}

.con-box{
    width: 47%;
    padding: 5px;
    box-shadow: 0 0 5px rgba(0,0,0,.7);
    font-size: 12px;
    margin-bottom: 20px;
    box-sizing: border-box;
}

.con-box img{
    display: block;
    width: 100%;
}

.box-tit{
    margin: 10px 0;
}

.data{
    display: flex;
    justify-content: space-between;
}

@media screen and (min-width: 845px) {
    .top-list{
        display: flex;
        width: 500px;
        justify-content: space-around;
        font-size: 16px;
    }

    .menu{
        display: none;
    }

    .adv{
        padding: 10px;
        display: flex;
        flex-wrap: nowrap;
        justify-content: space-between;
    }

    .adv .swiper{
        width: 49%;
        margin: 0;
    }

    .adv .qrcode{
        display: block;
        width: 24%;
    }
    
    .adv .center{
        display: block;
        width: 24%;
    }

    .con-box{
        width: 23%;
    }

    .con-box:nth-child(5){
        margin-left: 130px;
    }

    .con-box:nth-child(6){
        margin-right: 130px;
    }
}